package org.jeecg.modules.api.fallback;

import org.jeecg.modules.api.DemoApi;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingClass;
import org.springframework.stereotype.Component;

@Component
@ConditionalOnMissingClass("org.jeecg.modules.controller.DemoController")
public class DemoFallback implements DemoApi {
    @Override
    public String getOne() {
        throw new RuntimeException("未开通调试功能权限");
    }
}
